#include "LinkList.h"

void test_linkList01(){
	LinkList<int>link;
	link.show();
	link.push_back(1);
	link.push_back(2);
	link.push_back(3);
	link.push_back(4);
	link.push_front(10);
	link.show();
	if(link.find(2)){
		cout << "find 2" << endl;
	}
	else{
		cout << "not find 2" << endl;
	}
	link.show();
	link.remove(2);
	link.show();
	link.insert(20, 2);
	link.show();

}
int main(){
	test_linkList01();
	return 0;
}